﻿using JNPF.Common.Const;
using SqlSugar;

namespace JNPF.Website.Entitys;

/// <summary>
/// 轮播图管理实体.
/// </summary>
[SugarTable("website_banner")]
[Tenant(ClaimConst.TENANTID)]
public class WebsiteBannerEntity
{
    /// <summary>
    /// 主键.
    /// </summary>
    [SugarColumn(ColumnName = "F_Id", IsPrimaryKey = true)]
    public string Id { get; set; }

    /// <summary>
    /// 排序码.
    /// </summary>
    [SugarColumn(ColumnName = "F_SortCode")]
    public long SortCode { get; set; }

    /// <summary>
    /// 创建用户.
    /// </summary>
    [SugarColumn(ColumnName = "F_CreatorUserId")]
    public string CreatorUserId { get; set; }

    /// <summary>
    /// 创建时间.
    /// </summary>
    [SugarColumn(ColumnName = "F_CreatorTime")]
    public DateTime? CreatorTime { get; set; }

    /// <summary>
    /// 修改用户.
    /// </summary>
    [SugarColumn(ColumnName = "F_LastModifyUserId")]
    public string LastModifyUserId { get; set; }

    /// <summary>
    /// 修改时间.
    /// </summary>
    [SugarColumn(ColumnName = "F_LastModifyTime")]
    public DateTime? LastModifyTime { get; set; }

    /// <summary>
    /// 有效标志.
    /// </summary>
    [SugarColumn(ColumnName = "F_EnabledMark")]
    public int? EnabledMark { get; set; }

    /// <summary>
    /// 图片路径.
    /// </summary>
    [SugarColumn(ColumnName = "F_Image")]
    public string Image { get; set; }

    /// <summary>
    /// 位置 1首页.
    /// </summary>
    [SugarColumn(ColumnName = "F_Where")]
    public int? Where { get; set; }

    /// <summary>
    /// 链接.
    /// </summary>
    [SugarColumn(ColumnName = "F_Url")]
    public object Url { get; set; }

    /// <summary>
    /// 广告语1.
    /// </summary>
    [SugarColumn(ColumnName = "F_Title1")]
    public string Title1 { get; set; }

    /// <summary>
    /// 广告语1.
    /// </summary>
    [SugarColumn(ColumnName = "F_Title2")]
    public string Title2 { get; set; }

    /// <summary>
    /// 广告语1.
    /// </summary>
    [SugarColumn(ColumnName = "F_Title3")]
    public string Title3 { get; set; }

}